package com.tong.embeddedvr.pojo;

import com.jcraft.jsch.Channel;
import com.jcraft.jsch.JSch;
import org.springframework.web.socket.WebSocketSession;

/**
 * TODO
 *
 * @author gcl
 * @version 1.0
 * @Description
 * @date 2021/3/4 17:59
 */
public class SSHConnectInfo {
    public JSch jsch;
    public WebSocketSession webSocketSession;
    public Channel channel;

    public SSHConnectInfo() {
    }

    public SSHConnectInfo(JSch jsch, WebSocketSession webSocketSession, Channel channel) {
        this.jsch = jsch;
        this.webSocketSession = webSocketSession;
        this.channel = channel;
    }

    public JSch getJsch() {
        return jsch;
    }

    public void setJsch(JSch jsch) {
        this.jsch = jsch;
    }

    public WebSocketSession getWebSocketSession() {
        return webSocketSession;
    }

    public void setWebSocketSession(WebSocketSession webSocketSession) {
        this.webSocketSession = webSocketSession;
    }

    public Channel getChannel() {
        return channel;
    }

    public void setChannel(Channel channel) {
        this.channel = channel;
    }

    @Override
    public String toString() {
        return "SSHConnectInfo{" +
                "jsch=" + jsch +
                ", webSocketSession=" + webSocketSession +
                ", channel=" + channel +
                '}';
    }
}
